/**
 * 课程分类 api 封装
 *
 * @Author:    AKITA
 * @Date:      2025-07-04 16:55:11
 * @Copyright  AKITA
 */
import { postRequest, getRequest } from '/@/lib/axios';

export const docmentApi = {
  /**
   * 分页查询  @author  AKITA
   */
  queryPage: (param) => {
    return postRequest('/docment/queryPage', param);
  },

  /**
   * 增加  @author  AKITA
   */
  add: (param) => {
    return postRequest('/docment/add', param);
  },

  /**
   * 修改  @author  AKITA
   */
  update: (param) => {
    return postRequest('/docment/update', param);
  },

  /**
   * 删除  @author  AKITA
   */
  delete: (id) => {
    return getRequest(`/docment/delete/${id}`);
  },

  /**
   * 批量删除  @author  AKITA
   */
  batchDelete: (idList) => {
    return postRequest('/docment/batchDelete', idList);
  },

  info: (id) => {
    return getRequest(`/docment/info/${id}`);
  },

};
export const docmentaApi = {
  /**
   * 分页查询  @author  AKITA
   */
  queryPage: (param) => {
    return postRequest('/docmenta/queryPage', param);
  },

  /**
   * 增加  @author  AKITA
   */
  add: (param) => {
    return postRequest('/docmenta/add', param);
  },

  /**
   * 修改  @author  AKITA
   */
  update: (param) => {
    return postRequest('/docmenta/update', param);
  },

  /**
   * 删除  @author  AKITA
   */
  delete: (id) => {
    return getRequest(`/docmenta/delete/${id}`);
  },

  /**
   * 批量删除  @author  AKITA
   */
  batchDelete: (idList) => {
    return postRequest('/docmenta/batchDelete', idList);
  },
};

export const docmentaaApi = {

    /**
     * 分页查询  @author  AKITA
     */
    queryPage : (param) => {
        return postRequest('/docmentaa/queryPage', param);
    },

    /**
     * 增加  @author  AKITA
     */
    add: (param) => {
        return postRequest('/docmentaa/add', param);
    },

    /**
     * 修改  @author  AKITA
     */
    update: (param) => {
        return postRequest('/docmentaa/update', param);
    },


    /**
     * 删除  @author  AKITA
     */
    delete: (id) => {
        return getRequest(`/docmentaa/delete/${id}`);
    },

    /**
     * 批量删除  @author  AKITA
     */
    batchDelete: (idList) => {
        return postRequest('/docmentaa/batchDelete', idList);
    },

};



export const docmentabApi = {

    /**
     * 分页查询  @author  AKITA
     */
    queryPage : (param) => {
        return postRequest('/docmentab/queryPage', param);
    },

    /**
     * 增加  @author  AKITA
     */
    add: (param) => {
        return postRequest('/docmentab/add', param);
    },

    /**
     * 修改  @author  AKITA
     */
    update: (param) => {
        return postRequest('/docmentab/update', param);
    },


    /**
     * 删除  @author  AKITA
     */
    delete: (id) => {
        return getRequest(`/docmentab/delete/${id}`);
    },

    /**
     * 批量删除  @author  AKITA
     */
    batchDelete: (idList) => {
        return postRequest('/docmentab/batchDelete', idList);
    },

};

